package day0113;

public class Test6 {
    public static void main(String[] args) {
        int j=1;
        while(j<10){
            int i=1;
            while(i<=j){
                System.out.print(i+"*"+j+"="+i*j + "\t");
                i++;
            }
            System.out.println();
            j++;
        }



        /*// 1x7   2x7   3x7  4x7   5x7   6x7   7x7
        int i=1;
        int j=7;
        while(i<=7){
            System.out.print(i  +  "*"  +j+  "="  +i*j + "\t");
            i++;
        }
        System.out.println();


        // 1x8   2x8   3x8  4x8   5x8   6x8   7x8   8x8
        i=1;
        j=8;
        while(i<=8){
            System.out.print(i+"*"+j+"="+i*j + "\t");
            i++;
        }
        System.out.println();




        i=1;
        j=9;
        while(i<=9){
            System.out.print(i+"*"+j+"="+i*j + "\t");
            i++;
        }
        System.out.println();*/




    }
}
